export default class AngleTool {
	constructor(viewer) {
		this.viewer = viewer;
		this.status = false;
		this._init();
	}
	_init() {}
	start() {
		// 是否开启了
		this.status = true;
		this.viewer.measureTool.setMeasureType(Glodon.Bimface.Plugins.Measure.MeasureTypeOption.Angle);
		this.viewer.measureTool.switchOn();
	}
	stop() {
		if (this.status) {
			this.viewer.measureTool.exit();
			this.status = false;
		}
	}
}
AngleTool.toolId = 'AngleTool';
